import qs from 'qs'

export const parameters = (params) => {
  return qs.stringify(params)
}

export const LOGIN = '/login'
export const PLACEORDERTIME = '/placeordertime'
export const IMAGESBYPOSITION = '/images'
export const PROBE = '/probe'
export const DELETEIMAGE = '/image/delete'
export const UPDATESORT = '/image/sort/patch'
export const VISIABLE_IMAGE = '/image/visiable/patch'
export const ADDIMAGE = '/addimgs'
export const POTHANDLE = '/pot/handle'
export const POT = '/pot'
export const FEEDBACK = '/feedback'
export const FEEDBACK_DELETE = '/feedback/delete'
export const USERS = '/users'
export const READ = '/read'
export const ORDERS = '/manage/orders'
export const ORDERHANDLESTATE = '/manage/orderHandleState/patch'
export const ORDERS_DELETE = '/manage/orders/delete'
export const ORDERS_STATE_UPDATE = '/manage/order/state/update'
export const REFUND = '/refund/notlimit'
export const MONTHUSERS = '/month'
export const VIPUSERS = '/vip'
export const UPDATE_CAN_FINISH = '/manage/order/canfinish/patch'
export const QUERY_USER_BY_NICKNAME_OPENID = '/queryuser'
export const SEND_TICKET = '/ticket'
export const ALL_TARGET = '/alltarget'
export const FILE_UPLOAD = '/file/upload'
